package com.bdqn.mapper;

import com.bdqn.pojo.StorageRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StorageRecordMapper {
    int getCount();
    List<StorageRecord> getStorageRecordList(@Param("pageIndex") int pageIndex, @Param("pageSize") int pageSize,@Param("queryGoodsName") String queryGoodsName,@Param("querySupplierId")Integer querySupplierId,@Param("queryPayStatus")Integer queryPayStatus);

    int add(@Param("storageRecord") StorageRecord storageRecord);

    StorageRecord getStorageRecord(@Param("id") Integer storageRecordId);

    int del(@Param("id") Integer storageRecordId);

    int upd(@Param("storageRecord") StorageRecord storageRecord);
}
